﻿using System;
using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;

namespace NP.BPMReportPlatform.StandardApprovalFlow.Dto
{
    [ExcelExporter(Name = "供应商新品核价流程", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class GetJCPDTCPHJLCOutput
    {
        /// <summary>
        /// 流程状态
        /// </summary>
        [ExporterHeader(DisplayName = "流程状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [ExporterHeader(DisplayName = "申请时间")]
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 需求事业部
        /// </summary>
        [ExporterHeader(DisplayName = "需求事业部")]
        public string DemandDivision { get; set; }

        /// <summary>
        /// 运输要求
        /// </summary>
        [ExporterHeader(DisplayName = "运输要求")]
        public string ShippingRequirements { get; set; }

        /// <summary>
        /// 供货范围
        /// </summary>
        [ExporterHeader(DisplayName = "供货范围")]
        public string ScopeSupply { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        [ExporterHeader(DisplayName = "供应商名称")]
        public string SupplierName { get; set; }

        /// <summary>
        /// 产品类型名称
        /// </summary>
        [ExporterHeader(DisplayName = "产品类型名称")]
        public string ProductTypeName { get; set; }

        /// <summary>
        /// 半成品名称
        /// </summary>
        [ExporterHeader(DisplayName = "半成品名称")]
        public string SemiFinishedProductName { get; set; }

        /// <summary>
        /// 产品规格
        /// </summary>
        [ExporterHeader(DisplayName = "产品规格")]
        public string ProductSpecifications { get; set; }

        /// <summary>
        /// 大料成本（含税，元/吨）
        /// </summary>
        [ExporterHeader(DisplayName = "大料成本（含税，元/吨）")]
        public string AniseCost { get; set; }


        /// <summary>
        /// 精料成本（含税，元/吨）
        /// </summary>
        [ExporterHeader(DisplayName = "精料成本（含税，元/吨）")]
        public string ConcentrateCost { get; set; }


        /// <summary>
        /// 公式计算综合成本
        /// </summary> 
        [ExporterHeader("综合成本")]
        public string FormulaCalculation { get; set; }

        /// <summary>
        /// 原料
        /// </summary> 
        [ExporterHeader("原料")]
        public string RawMaterial { get; set; }

        /// <summary>
        /// 制费
        /// </summary> 
        [ExporterHeader("制费")]
        public decimal? ManufacturingCosts { get; set; }

        /// <summary>
        /// 包装
        /// </summary> 
        [ExporterHeader("包装")]
        public string Package { get; set; }

        /// <summary>
        /// 托盘缠绕膜
        /// </summary> 
        [ExporterHeader("托盘/缠绕膜")]
        public string TraysAndWraps { get; set; }


        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }
    }
}